package com.test.listenerevent;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @Author zz-lxf
 * @E-mail 629938044@qq.com
 * @Date 2021/12/3 11:02
 * @Version 1.0
 */
public class Main {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext ac =
                new AnnotationConfigApplicationContext(Config.class);
        DmzService dmzService = ac.getBean(DmzService.class);
        dmzService.invokeWithTransaction();
    }
}
